package com.gupaoedu.pattern.factory.abstractfactory;

/**
 * 2019/5/4
 * created by chenpp
 */
public class FoodFactoryTest {
    public static void main(String[] args) {
         TongyiFactory factory1 = new TongyiFactory();
         PanpanFactory factory2 = new PanpanFactory();
         factory1.productBread().eat();
         factory2.productMilk().drink();

    }
}
